//
//  MYXDateTimeHelper.h
//  meiyinxiang
//
//  Created by 陈李飞 on 2017/11/8.
//  Copyright © 2017年 hbjApple. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface MYXDateTimeHelper : NSObject
+ (NSString *)prettyDateWithTimestamp:(long long)timestamp;

+ (NSString *)prettyDateWithReference:(NSDate *)reference;
+ (NSString *)prettyDateWithRefe:(NSDate *)referen;
+ (NSString *)simplifyDateTime: (NSString *)datetime;

+ (long long)longlongDateTime: (NSString *)datetime;
+ (NSString *)getMMSSFromSS:(NSString *)totalTime;


//日期，格式是yyyyMMdd

+ (NSString *)time:(NSDate *)referen;
+(NSString *)timeWithTimeIntervalString:(NSString *)timeString;
//生日时间计算
+(NSString *)birthDayTimeWithIntervalString:(NSString *)timeString;
//余额明细时间戳计算
+(NSString *)restMoneyTimeWithTimeIntervalString:(NSString *)timeString;

@end
